package com.xuhai.blog19.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuhai.blog19.admin.entity.CodeEntity;

import java.awt.image.BufferedImage;

/**
 * @Author PangJunjie
 * @Date 2023/2/6/006
 */
public interface CodeService extends IService<CodeEntity> {
    BufferedImage getKaptcha(String uuid);

    boolean checkCode(String uuid, String code);
}
